﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace GSF.Objects
{
    class Selected:Objects
    {
        Vector2 m_target;
        bool m_enable;
        public bool Enable
        {
            set
            {
                m_enable = value;
            }
            get
            {
                return m_enable;
            }
        }
        public Vector2 Target 
        {
            get
            {
                return m_target;
            }
            set
            {
                m_target = value;
            }
        }
      
        public Selected(Game game, string texture, int rows, int cols)
            : base(game, texture, rows, cols)
        {
            m_target = new Vector2();
            m_enable = false;
        }

        public void Update(GameTime gameTime)
        {
           if(m_enable)
               base.update();
        }

        public void Draw(SpriteBatch sprite)
        {
            base.draw(sprite);
        }
    }
}
